import { createApp } from 'vue'
import './style.css'
import '@wangeditor/editor/dist/css/style.css'
import 'element-plus/dist/index.css'
import App from './App.vue'
import ElementPlus from 'element-plus'
import request from './utils/request'
import router from './router'

import '~/dist/theme/css/zk-content.css'
import ZkContent, { Config } from '~/dist/es/index.js'

// import 'zhongke-content-component-vue3/theme.css'
// import ZkContent, { Config } from 'zhongke-content-component-vue3'

const app = createApp(App)
app.use(ElementPlus)
// Config.setConfig({
//   request: request,
// })

app.use(ZkContent, {
  request,
})

app.use(router)

app.mount('#app')
